Package com.orange.webcom.sdk.datasync

Exposes the API of the Webcom Realtime Database service (or "datasync" in short).

Types

DatasyncManager
Link copied to clipboard
class DatasyncManager

Handles a set of subscriptions to data nodes and authentication events.

DatasyncNode
Link copied to clipboard
class DatasyncNode(manager: DatasyncManager, path: String) : Subscriber

Represents a data node within the tree-like data of a Webcom application.

DatasyncService
Link copied to clipboard
class DatasyncService : WebcomAbstractService

The WebcomAbstractService that makes it possible to interact in real time with the data of a Webcom application.

DatasyncTime
Link copied to clipboard
enum DatasyncTime : Enum<DatasyncTime>

Represents a write-policy into the Webcom database.

DatasyncValue
Link copied to clipboard
open class DatasyncValue : TreeLikeData

Represents a tree-like value stored by the Webcom datasync service within its real-time database.

PresenceState
Link copied to clipboard
typealias PresenceState = ISO8601Date
TransactionOperation
Link copied to clipboard
sealed class TransactionOperation

Represents a write operation to perform on a data node within an atomic transaction.

TransactionResult
Link copied to clipboard
data class TransactionResult(value: DatasyncValue, hasCompleted: Boolean)

Represents the result of a transaction run by the DatasyncNode.runTransaction method.